from lxml import etree
from lxml import objectify
from StringIO import StringIO
import os, sys

f = open('lzx.xsd')
doc = f.read()
root = objectify.fromstring(doc)
#print objectify.dump(root)
print objectify.dump(root.element)
